using System;
using System.Collections.Generic;
using System.Text;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Yozeev.SystemConfig.BasicConfig;
using System.ComponentModel.DataAnnotations.Schema;
using Yozeev.UserManagerment.Users;

namespace Abp.Domain.Entities.Auditing
{
    public abstract class ByUserEntity<TPrimaryKey> : CreationAuditedEntity<TPrimaryKey>
    {
        [ForeignKey("CreatorUserId")]
        public virtual User CreatorUser { get; set; }
    }
    public abstract class ByBranchEntity<TPrimaryKey> : CreationAuditedEntity<TPrimaryKey> 
    {

        [ForeignKey("CreatorUserId")]
        public virtual User CreatorUser { get; set; }
        public Guid? BranchId;
        [ForeignKey("BranchId")]
        public virtual Branch Branch { get; set; }
    }
}
